package com.mdd.common.entity.yangyangLeadingEnterprise.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("微风企获取报告DTO")
public class ReportDTO implements Serializable {

    @ApiModelProperty("状态码")
    Integer code;

    @ApiModelProperty("")
    String message;

    @ApiModelProperty("返回数据")
    String jsonData;

    /**
     * "finance_service_analysis:融资服务报告"
     * "tax_risk_check:税务风险报告-通用版"
     * "tax_risk_check_simple:税务风险报告-简版"
     * "tax_risk_check_professional:税务风险报告-税优版"
     *  "jindiao_company_analysis:企业尽调报告"
     *  "fiscal_subsidies_analysis:财政补贴报告"
     *  "jindiao_supplier_analysis:供应商尽调报告"
     *  "business_strategy_analysis:经营参谋报告"
     *  "invest_jindiao_analysis:投资尽调报告"
     */
    @ApiModelProperty("报告类型")
    String reportType;

    @ApiModelProperty("报告地址---PDF")
    String pdfUrl;

    @ApiModelProperty("报告地址---WORD")
    String docUrl;

    public static ReportDTO success(Integer code,String message, String jsonData, String pdfUrl, String wordUrl,String reportType) {
        ReportDTO dto = new ReportDTO();
        dto.setCode(code);
        dto.setMessage(message);
        dto.setJsonData(jsonData);
        dto.setPdfUrl(pdfUrl);
        dto.setDocUrl(wordUrl);
        dto.setReportType(reportType);
        return dto;
    }

}
